//
//  SettingsTableViewCell.m
//  厚积薄发
//
//  Created by 侯振兴 on 15/1/4.
//  Copyright (c) 2015年 侯振兴. All rights reserved.
//


#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#import "SettingsTableViewCell.h"

@implementation SettingsTableViewCell

- (void)dealloc
{
    [_pic release];
    [_name release];
    [super dealloc];
}


- (instancetype)init
{
    self = [super init];
    if (self) {
        self.pic = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, SCREEN_WIDTH / 4, 50)];
        self.name = [[UILabel alloc] initWithFrame:CGRectMake(10 + SCREEN_WIDTH / 4, 20, SCREEN_WIDTH / 2, 20)];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
